package jp.java.test1.pkg10_19.test14;

public class Main {

	public static void main(String[] args) {
		int [][] array = new int[3][3];
		
		array[0] = new int[3];
		array[1] = new int[2];
		array[2] = new int[1];
		
		int total = 0;
		for(int[] a : array) {
			total += a.length;
		}
		System.out.println(total);

	}

}
